import request from '../utils/request'

/**
 * 手机号、验证码登录
 * @param formData:{mobile, smsCode=246810 验证码固定}
 */
export const postLoginAPI = ({ mobile, smsCode }) => {
  return request.post('/passport/login', {
    form: {
      mobile,
      smsCode,
      // 先写死
      isParty: false,
      partyData: {},
    },
  })
}
